package com.ruoyi.system.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 收货地址对象 sys_member_address
 * 
 * @author ruoyi
 * @date 2025-04-25
 */
@ApiModel(description = "收货地址对象")
public class SysMemberAddress extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 会员id */
    @Excel(name = "会员id")
    @ApiModelProperty(value = "会员id",required = true)
    private String memberId;

    /** 收货地址 */
    @Excel(name = "收货地址")
    @ApiModelProperty(value = "收货地址",required = true)
    private String addressDetail;

    /** 是否默认 */
    @Excel(name = "是否默认")
    @ApiModelProperty(value = "是否默认",required = true)
    private String memberDefault;

    @ApiModelProperty(value = "地区码")
    private String areaCode;

    @ApiModelProperty(value = "省份")
    private String province;

    @ApiModelProperty(value = "城市")
    private String city;

    @ApiModelProperty(value = "区县")
    private String county;

    /** 是否删除 */
    @Excel(name = "是否删除")
    @ApiModelProperty(value = "是否删除")
    private String status;

    /** 手机号 */
    @ApiModelProperty(value = "手机号")
    private String phonenumber;

    @ApiModelProperty(value = "会员名称")
    private String memberName;

    @ApiModelProperty(value = "收货人")
    private String addressName;

    @ApiModelProperty(value = "收获手机号")
    private String tel;


    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setMemberId(String memberId) 
    {
        this.memberId = memberId;
    }

    public String getMemberId() 
    {
        return memberId;
    }

    public String getMemberDefault() {
        return memberDefault;
    }

    public void setMemberDefault(String memberDefault) {
        this.memberDefault = memberDefault;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public String getAddressDetail() {
        return addressDetail;
    }

    public void setAddressDetail(String addressDetail) {
        this.addressDetail = addressDetail;
    }

    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCounty() {
        return county;
    }

    public void setCounty(String county) {
        this.county = county;
    }

    public String getPhonenumber() {
        return phonenumber;
    }

    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public String getAddressName() {
        return addressName;
    }

    public void setAddressName(String addressName) {
        this.addressName = addressName;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("memberId", getMemberId())
            .append("addressDetail", getAddressDetail())
            .append("memberDefault", getMemberDefault())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .toString();
    }
}
